package com.liangdemo.web.model.VM;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户全部信息
 *
 * @author Mr.Liang
 * @date 2022/5/11 13:47
 */
@Data
public class UserVM implements Serializable {
    /**
     * 用户id
     */
    @Excel(name = "用户id", orderNum = "", width = 10)
    private Long id;
    /**
     * 用户名称
     */
    @Excel(name = "用户名称", width = 10)
    private String UserName;
    /**
     * 用户状态
     */
    @Excel(name = "用户状态", width = 10)
    private String status;
    /**
     * 用户账户
     */
    @Excel(name = "用户账户", width = 10)
    private String account;
    /**
     * 账号密码
     */
    @Excel(name = "账号密码", width = 10)
    private String password;
    /**
     * 账号密码
     */
    @Excel(name = "账号密码", width = 10)
    private String phone;
    /**
     * 用户邮箱
     */
    @Excel(name = "用户邮箱", width = 10)
    private String email;
    /**
     * 用户性别
     */
    @Excel(name = "用户性别", width = 10)
    private Integer sex;
    /**
     * 用户真是名称
     */
    @Excel(name = "用户真是名称", width = 10)
    private String realName;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 10,databaseFormat = "yyyyMMddHHmmss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 10,databaseFormat = "yyyyMMddHHmmss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
